Mention event controller API in the migration guide
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 May 2019 18:17:07 +0000 (14:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 May 2019 18:17:07 +0000 (14:17 -0400)
docs/reference/gtk/migrating-3to4.xml

index a1d9dd08b518d21f2d281859fdf50d55c359ba05..d61dc892b7650c93b3be1c11918b6260369f0161 100644 (file)
       </para>
     </section>
 
+    <section>
+      <title>Adapt to event controller API changes</title>
+      <para>
+        A few changes to the event controller and #GtkGesture APIs
+        did not make it back to GTK3, and have to be taken into account
+        when moving to GTK4. One is that the
+        #GtkEventControllerMotion::enter,
+        #GtkEventControllerMotion::leave,
+        #GtkEventControllerKey::focus-in and
+        #GtkEventControllerKey::focus-out signals
+        have gained new arguments. Another is that #GtkGestureMultiPress
+        has been renamed to #GtkGestureClick.
+      </para>
+    </section>
+
     <section>
       <title>Stop using GtkEventBox</title>
       <para>